<?php

namespace App\Repository\Repositories;

use Prettus\Validator\Contracts\ValidatorInterface;
use App\Repository\Repositories\Interfaces\CategoryBrandRepository;
use App\Repository\Models\CategoryBrand;

/**
 * Class CategoryBrandRepositoryEloquent.
 *
 * @package namespace App\Repository\Repositories;
 */
class CategoryBrandRepositoryEloquent extends BaseRepository implements CategoryBrandRepository
{
    /**
     * 数据验证
     * @var array
     */
    protected $rules = [
        ValidatorInterface::RULE_CREATE => [
        ],
        ValidatorInterface::RULE_UPDATE => [
        ]
    ];

    /**
     * 搜索
     * @var array
     */
    protected $fieldSearchable = [
    ];

    /**
     * Specify Model class name
     *
     * @return string
     */
    public function model()
    {
        return CategoryBrand::class;
    }
}
